import {RouteRecordRaw} from 'vue-router'
import CustomLayout from '@/layout/CustomLayout.vue'

export default [
  {
    path: '/monitor',
    name: 'monitor',
    component: CustomLayout,
    children: [
      {
        path: 'index',
        name: 'index',
        component: () => import('@/views/monitor/index.vue')
      },
      {
        path: 'server_status',
        name: 'server_status',
        component: () => import('@/views/monitor/server_status.vue')
      },
      {
        path: 'slow_search_log',
        name: 'slow_search_log',
        component: () => import('@/views/monitor/slow_search_log.vue')
      },
      {
        path: 'online_monitor',
        name: 'online_monitor',
        component: () => import('@/views/monitor/online_monitor.vue')
      }
    ]
  }
] as RouteRecordRaw[]
